package goldendawn.footballalarm.entity;

import goldendawn.core.BaseEntity;

import android.content.ContentValues;
	/***
	* MatchType实体类型
	* @author 由GoldenDawn 实体类生成器生成
	* 2012-12-08 10-19-30
	*/
public class MatchType extends BaseEntity {
	public static String ID="id";
	public static String NAME="name";
	public static String NAME_CN="name_cn";

	private int _id;
	private String _name;
	private String _name_cn;

	public void setId(int id) {
		this._id=id;
	}
	public int getId() {
		return _id;
	}

	public void setName(String name) {
		this._name=name;
	}
	public String getName() {
		return _name;
	}

	public void setName_cn(String name_cn) {
		this._name_cn=name_cn;
	}
	public String getName_cn() {
		return _name_cn;
	}

	@Override
	public String getPriKey() {
		return "id";
	}
	@Override
	public String getPriKeyValue() {
		return _id+"";
	}
	@Override
	public ContentValues getContentValues() {
		ContentValues values=new ContentValues();
		values.put("ID",_id);
		values.put("NAME",_name);
		values.put("NAME_CN",_name_cn);
		return values;
	}
	}